package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小程序用户管理对象 app_user
 * 
 * @author ruoyi
 * @date 2021-03-04
 */
public class AppUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** open_id */
    @Excel(name = "open_id")
    private String openId;

    /** 登录ip */
    @Excel(name = "登录ip")
    private String lastLoginIp;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 民族 */
    @Excel(name = "民族")
    private String nationality;

    /** 公民身份号码 */
    @Excel(name = "公民身份号码")
    private String identitynumber;

    /** 生日 */
    @Excel(name = "生日")
    private String birth;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 账号状态 */
    @Excel(name = "账号状态")
    private Integer status;
    @Excel(name = "绑定状态")
    private Integer bindingStatus;

    private String imagePath1;
    private String imagePath2;
    private String imagePath3;
    /**
     * 验证码
     */
    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getImagePath1() {
        return imagePath1;
    }

    public void setImagePath1(String imagePath1) {
        this.imagePath1 = imagePath1;
    }

    public String getImagePath2() {
        return imagePath2;
    }

    public void setImagePath2(String imagePath2) {
        this.imagePath2 = imagePath2;
    }

    public String getImagePath3() {
        return imagePath3;
    }

    public void setImagePath3(String imagePath3) {
        this.imagePath3 = imagePath3;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setLastLoginIp(String lastLoginIp) 
    {
        this.lastLoginIp = lastLoginIp;
    }

    public String getLastLoginIp() 
    {
        return lastLoginIp;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setNationality(String nationality) 
    {
        this.nationality = nationality;
    }

    public String getNationality() 
    {
        return nationality;
    }
    public void setIdentitynumber(String identitynumber) 
    {
        this.identitynumber = identitynumber;
    }

    public String getIdentitynumber() 
    {
        return identitynumber;
    }
    public void setBirth(String birth) 
    {
        this.birth = birth;
    }

    public String getBirth() 
    {
        return birth;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public Integer getBindingStatus() {
        return bindingStatus;
    }

    public void setBindingStatus(Integer bindingStatus) {
        this.bindingStatus = bindingStatus;
    }

    @Override
    public String toString() {
        return "AppUser{" +
                "id=" + id +
                ", phone='" + phone + '\'' +
                ", openId='" + openId + '\'' +
                ", lastLoginIp='" + lastLoginIp + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", nationality='" + nationality + '\'' +
                ", identitynumber='" + identitynumber + '\'' +
                ", birth='" + birth + '\'' +
                ", address='" + address + '\'' +
                ", status=" + status +
                ", removeBindingStatus=" + bindingStatus +
                '}';
    }
}
